package com.youku.adSDK.view.events
{
   import flash.events.Event;
   
   public class ADPlayerEvent extends Event
   {
      
      public function ADPlayerEvent(param1:String, param2:Object = null) {
         super(param1);
         this._data = param2;
      }
      
      public static const PLAY_START:String = "playStart";
      
      public static const PLAY_OVER:String = "playOver";
      
      public static const PLAY_STREAM_ERROR:String = "PLAY_STREAM_ERROR";
      
      public static const PLAY_IO_ERROR:String = "PLAY_IO_ERROR";
      
      public static const PLAY_SECURITY_ERROR:String = "PLAY_SECURITY_ERROR";
      
      public static const LOAD_COMPLETE:String = "loadComplete";
      
      public static const VIDEO_PRESS:String = "videoPress";
      
      public static const ARRIVE_POINT:String = "arrivePoint";
      
      public static const ARRIVE_OUT:String = "arriveOut";
      
      public static const META_DATA:String = "onMetaData";
      
      public static const TIME_OUT:String = "onTimeOut";
      
      public static const SWF_CLICK:String = "SWF_CLICK";
      
      public var totalTime:Number;
      
      private var _data:Object;
      
      public var id:int;
      
      public function get data() : Object {
         return this._data;
      }
   }
}
